﻿using System;
using GeoAPI.Geometries;

namespace NetTopologySuite.Utilities
{
	public class CoordinateCountFilter : ICoordinateFilter
	{
		public int Count
		{
			get
			{
				return this._n;
			}
		}

		public void Filter(Coordinate coord)
		{
			this._n++;
		}

		private int _n;
	}
}
